//
//  ZYCCourseDetailBottomView.h
//  ZDSC
//
//  Created by ZDTX on 2021/7/26.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, ZYCTeacherBottomStatus) {
    ZYCBottomStatusTeacherEnrollFull = 0, //报名已满
    ZYCBottomStatusTeacherEnrollNoFull, // 报名未满
    
};



@protocol ZYCCourseDetailBottomViewDelegate <NSObject>

// 点击按钮
- (void)courseDetailBottomDidDetail:(ZYCTeacherBottomStatus)status;

@end
@interface ZYCCourseDetailBottomView : UIView

@property (nonatomic, weak) id<ZYCCourseDetailBottomViewDelegate> delegate;

@property (nonatomic, assign) ZYCTeacherBottomStatus status;

@property (nonatomic, copy) NSString *title;

@property (nonatomic, strong) UIColor *bgColor;

@property (nonatomic, assign) ZYCLoginRoleType roleType;

@property (nonatomic, assign) BOOL isEnable;



@end

NS_ASSUME_NONNULL_END
